package com.weixin.xplore.service;

import com.weixin.xplore.controller.domain.request.*;
import com.weixin.xplore.controller.domain.response.SysUserGetLoginUserVO;
import com.weixin.xplore.dao.entity.SysUser;
import jakarta.validation.Valid;

import java.util.List;

public interface SysUserBizService {

    Boolean sendCheckCode(@Valid AuthAccountSendCheckCodeRequest authAccountPasswordLoginParam);

    String register(@Valid AuthAccountRegisterRequest authAccountPasswordLoginParam);

    Boolean signIn();

    String login(@Valid AuthAccountAutoLoginRequest authAccountPasswordLoginParam);

    List<SysUser> pageList(SysUserPageQueryRequest queryRequest);

    Boolean update(SysUser sysUser);

    SysUserGetLoginUserVO getLoginUser();

    Boolean updateBasicInfo(SysUserUpdateBasicInfoRequest sysUser);
}
